Blue color shift on videos in MPV when using vo=opengl[-hq]
https://bugs.freedesktop.org/show_bug.cgi?id=101561
Bug ID: 101561
Summary: [bisected] [llvm] Blue color shift on videos in MPV
when using vo=opengl[-hq]
Product: Mesa
Version: git
Hardware: Other
OS: All
Status: NEW
Severity: major
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Hi all,
After LLVM commit e88fc4046f70131e67411cee503201e3e9665891 [AMDGPU] SDWA: add support for GFX9 in peephole pass, MPV videos have their colors shifted significantly into the blue range. It is resolved with the commit directly before the above. I am using an RX 480 on kernel 4.11.6, mesa git, xserver git, and llvm git. Using other mpv outputs, such as vo=vaapi,vdpau,x11 or xv all have normal video.
Let me know if you need any more information.
Thanks,
Sarnex
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #1 from Nick Sarnie <[email protected]> --- Created attachment 132151
--> https://bugs.freedesktop.org/attachment.cgi?id=132151&action=edit
good R600_DEBUG=fs,vs,gs,ps,cs
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #2 from Nick Sarnie <[email protected]> --- Created attachment 132152
--> https://bugs.freedesktop.org/attachment.cgi?id=132152&action=edit
bad R600_DEBUG=fs,vs,gs,ps,cs
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #3 from Nick Sarnie <[email protected]> ---
As a final piece of information, if I compile LLVM with asserts enabled, I get the following assert
mpv:/var/tmp/portage/sys-devel/llvm-9999/work/llvm-9999/lib/Target/AMDGPU/SIPeepholeSDWA.cpp:719:
bool {anonymous}::SIPeepholeSDWA::convertToSDWA(llvm::MachineInstr&, const SDWAOperandsVector&): Assertion `AMDGPU::getNamedOperandIdx(SDWAOpcode, AMDGPU::OpName::omod) != -1' failed.
Thanks,
Sarnex
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #4 from Andy Furniss <[email protected]> --- Yea, this commit also breaks (asserts) Unigine Valley on R9 285.
I'll open a bug on llvm tracker and link back to this one.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #5 from Andy Furniss <[email protected]> --- (In reply to Andy Furniss from comment #4)
Quoted 3 lines
Yea, this commit also breaks (asserts) Unigine Valley on R9 285.
I'll open a bug on llvm tracker and link back to this one.
https://bugs.llvm.org/show_bug.cgi?id=33566
Though I couldn't add the author to CC :-(
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
--- Comment #6 from Andy Furniss <[email protected]> --- (In reply to Andy Furniss from comment #5)
Quoted 1 line
Though I couldn't add the author to CC :-(
Oops ignore that bit - the author is addable, I was trying to add the llvm username which is different.
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
https://bugs.freedesktop.org/show_bug.cgi?id=101561
Nick Sarnie <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED--- Comment #7 from Nick Sarnie <[email protected]> --- Fixed by
https://github.com/llvm-mirror/llvm/commit/06ed4a14fdcacacc12b31f6316efaab5620ffe85
Signature · 2 lines
You are receiving this mail because: You are the assignee for the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel